package com.future.shiro.model;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

/**
 * @Author yinhao
 * @Date 2021/3/29 11:23
 * @Description
 */
@Data
public class Role {

    private Integer rid;

    private String rname;

    private Set<Permission> permissions = new HashSet<>();

    private Set<User> users = new HashSet<>();

}
